package com.eascs.p2p.common.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the p2p_file database table.
 * 
 */
@Entity
@Table(name="p2p_file")
@NamedQuery(name="P2pFile.findAll", query="SELECT p FROM P2pFile p")
public class FileEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="file_id")
	private String fileId;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="creat_date")
	private Date creatDate;

	@Column(name="creat_or")
	private String creatOr;

	@Column(name="extend_name")
	private String extendName;

	@Column(name="file_type_code")
	private String fileTypeCode;

	@Column(name="file_type_name")
	private String fileTypeName;

	@Column(name="is_attachment")
	private String isAttachment;

	@Column(name="is_must")
	private String isMust;

	@Column(name="is_provide")
	private String isProvide;

	@Column(name="key_code")
	private String keyCode;

	@Column(name="original_name")
	private String originalName;

	private String urlpath;

	public FileEntity() {
	}

	public String getFileId() {
		return this.fileId;
	}

	public void setFileId(String fileId) {
		this.fileId = fileId;
	}

	public Date getCreatDate() {
		return this.creatDate;
	}

	public void setCreatDate(Date creatDate) {
		this.creatDate = creatDate;
	}

	public String getCreatOr() {
		return this.creatOr;
	}

	public void setCreatOr(String creatOr) {
		this.creatOr = creatOr;
	}

	

	public String getFileTypeCode() {
		return this.fileTypeCode;
	}

	public void setFileTypeCode(String fileTypeCode) {
		this.fileTypeCode = fileTypeCode;
	}

	public String getFileTypeName() {
		return this.fileTypeName;
	}

	public void setFileTypeName(String fileTypeName) {
		this.fileTypeName = fileTypeName;
	}


	public String getIsMust() {
		return this.isMust;
	}

	public void setIsMust(String isMust) {
		this.isMust = isMust;
	}

	public String getIsProvide() {
		return this.isProvide;
	}

	public void setIsProvide(String isProvide) {
		this.isProvide = isProvide;
	}

	public String getKeyCode() {
		return this.keyCode;
	}

	public void setKeyCode(String keyCode) {
		this.keyCode = keyCode;
	}

	public String getOriginalName() {
		return this.originalName;
	}

	public void setOriginalName(String originalName) {
		this.originalName = originalName;
	}

	public String getUrlpath() {
		return this.urlpath;
	}

	public void setUrlpath(String urlpath) {
		this.urlpath = urlpath;
	}

	public String getExtendName() {
		return extendName;
	}

	public void setExtendName(String extendName) {
		this.extendName = extendName;
	}

	public String getIsAttachment() {
		return isAttachment;
	}

	public void setIsAttachment(String isAttachment) {
		this.isAttachment = isAttachment;
	}

	
}